//
//  UIViewController+Category.h
//  baby
//
//  Created by wenju on 14-6-25.
//  Copyright (c) 2014年 wenju. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Global1.h"
@interface UIViewController(Category)

- (void) setTitleColor:(UIColor *)color;

- (void) onNavigationBack;

- (void) gotoNavigationRoot;

- (void) setBackBarButtonTitle:(NSString *)title;
- (void) setLeftBarButtonTitle:(NSString *)title action:(SEL)action;
- (void) setRightBarButtonTitle:(NSString *)title action:(SEL)action;

- (void) setLeftBarButtonOfDefault:(SEL)action;

- (void) setLeftBarButtonImage:(UIImage *)image highlightImage:(UIImage *)highlightImage action:(SEL)action;

- (void) setRightBarButtonImage:(UIImage *)image highlightImage:(UIImage *)highlightImage action:(SEL)action;

- (void) setNavigationBarWithColor:(UIColor *)color;

- (void) setNavigationBarWithImage:(UIImage *)image;

-(void) setNavigationTitleView : (NSString *)title;
@end
